package com.demo.day406;

public class Oddnum {

    public static void odd(){
        int a = 101;
        int b = 0;

        do {
        if (a%2==1){
            a--;
            b++;
        }else {
            a--;
        }

        }while (a>0);
        System.out.println(b-1);
    }

    public static void main(String[] args) {
        odd();
    }
}
